package llk
{
	import com.core.Game;
	
	import llk.controllers.LlkController;
	import llk.datas.LlkData;
	import llk.views.LlkView;

	public class LLKGame extends Game
	{
		public var _view:LlkView;
		public var _data:LlkData;
		public var _controller:LlkController;
		public function LLKGame( )
		{
			super();
		}
		
		override public function newGame( ):void{

			
		}
		
		override public function newLevel():void{
			super.runGame();
			_data = new LlkData;
			_view = new LlkView
			_controller = new LlkController;
			addChild( _view )
			
			//data单单一个   ctrl  映射view data   view 映射 data
			_data.initData();
			
			
			_view.initView(_controller);
			_controller.initController(_view);
			_view.createView();
		}
		
		override public function runGame( ):void{

		}
		
	}
}